package com.adou.common.dto;

import com.adou.common.model.FlowDirection;
import com.adou.common.model.base.BaseEntity;

public class FlowDirectionOutDto extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long ifmid;

    private String cfdname;

    private Long istartftid;

    private Long iendftid;

    private Integer iorder;

    private Boolean bIsCondition;

    private String cFieldName;

    private String cCompare;

    private String cValue;

    private Boolean bIsAndOr;

    private String cOFieldName;

    private String cOCompare;

    private String cOValue;
    private String startftname;
    private String endftname;
    private String cflowname;

    public FlowDirectionOutDto(FlowDirection flowDirection) {
        this.setId(flowDirection.getId());
        this.setbIsAndOr(flowDirection.getbIsAndOr());
        this.setbIsCondition(flowDirection.getbIsCondition());
        this.setcCompare(flowDirection.getcCompare());
        this.setCfdname(flowDirection.getCfdname());
        this.setcFieldName(flowDirection.getcFieldName());
        this.setcOCompare(flowDirection.getcOCompare());
        this.setcOFieldName(flowDirection.getcOFieldName());
        this.setcOValue(flowDirection.getcOValue());
        this.setcValue(flowDirection.getcValue());
        this.setIendftid(flowDirection.getIendftid());
        this.setIfmid(flowDirection.getIfmid());
        this.setIorder(flowDirection.getIorder());
        this.setIstartftid(flowDirection.getIstartftid());
        this.setStartftname(flowDirection.getStartftname());
        this.setEndftname(flowDirection.getEndftname());
        this.setCflowname(flowDirection.getCflowname());
    }

    public String getStartftname() {
        return startftname;
    }

    public void setStartftname(String startftname) {
        this.startftname = startftname == null ?"":startftname;
    }

    public String getEndftname() {
        return endftname;
    }

    public void setEndftname(String endftname) {
        this.endftname = endftname == null ? "" :endftname;
    }

    public String getCflowname() {
        return cflowname;
    }

    public void setCflowname(String cflowname) {
        this.cflowname = cflowname == null ? "": cflowname;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getIfmid() {
        return ifmid;
    }

    public void setIfmid(Long ifmid) {
        this.ifmid = ifmid;
    }

    public String getCfdname() {
        return cfdname;
    }

    public void setCfdname(String cfdname) {
        this.cfdname = cfdname == null ? "" : cfdname;
    }

    public Long getIstartftid() {
        return istartftid;
    }

    public void setIstartftid(Long istartftid) {
        this.istartftid = istartftid;
    }

    public Long getIendftid() {
        return iendftid;
    }

    public void setIendftid(Long iendftid) {
        this.iendftid = iendftid;
    }

    public Integer getIorder() {
        return iorder;
    }

    public void setIorder(Integer iorder) {
        this.iorder = iorder;
    }

    public Boolean getbIsCondition() {
        return bIsCondition;
    }

    public void setbIsCondition(Boolean bIsCondition) {
        this.bIsCondition = bIsCondition;
    }

    public String getcFieldName() {
        return cFieldName;
    }

    public void setcFieldName(String cFieldName) {
        this.cFieldName = cFieldName == null ? "" : cFieldName;
    }

    public String getcCompare() {
        return cCompare;
    }

    public void setcCompare(String cCompare) {
        this.cCompare = cCompare == null ? "" : cCompare;
    }

    public String getcValue() {
        return cValue;
    }

    public void setcValue(String cValue) {
        this.cValue = cValue == null ? "" : cValue;
    }

    public Boolean getbIsAndOr() {
        return bIsAndOr;
    }

    public void setbIsAndOr(Boolean bIsAndOr) {
        this.bIsAndOr = bIsAndOr;
    }

    public String getcOFieldName() {
        return cOFieldName;
    }

    public void setcOFieldName(String cOFieldName) {
        this.cOFieldName = cOFieldName == null ? "" : cOFieldName;
    }

    public String getcOCompare() {
        return cOCompare;
    }

    public void setcOCompare(String cOCompare) {
        this.cOCompare = cOCompare == null ? "" : cOCompare;
    }

    public String getcOValue() {
        return cOValue;
    }

    public void setcOValue(String cOValue) {
        this.cOValue = cOValue == null ? "" : cOValue;
    }
}
